/*
 *  $Id: Deluge.cs 975 2009-12-16 17:13:22Z thenn.erannor $
 *	This file is a part of Ragima CCG.
 *	(C) 2008 Ragima development group.
 *
 *	Licensed under the terms of the GNU GPL License version 2.
 *
 */

namespace Ragima.Affects {
    /// <summary>
    /// Эффект: наводнение (флаг)
    /// Подводное существо получает возможность атаковать.
    /// </summary>
    public class Deluge: FlagAffect {
        public override string Id {
            get { return "deluge"; }
        }

        public override AffectIcon Icon {
            get { return AffectIcon.Deluge; }
        }

        public override ElementType Element {
            get { return ElementType.Water; }
        }

        public override int BaseWeight {
            get { return 20; }
        }

        public override bool Dispellable {
            get { return false; }
        }
    }

    /// <summary>
    /// Эффект: аура наводнения
    /// </summary>
    public class DelugeAura: CreatureAuraAffect {
        public DelugeAura(): base(true, true) {}

        public override string Id {
            get { return "deluge.aura"; }
        }

        protected override Affect CreateSubAffect() {
            return new Affects.Deluge();
        }
    }
}
